<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %>

<t:panelGrid width="100%">
	<h:graphicImage url="/image/logo.gif" width="100%" height="100"></h:graphicImage>
</t:panelGrid>


<t:panelGrid columns="4" bgcolor="f8f8ff" width="70%">

	<t:column style="align:left">
		<h:outputLink  value="/#{menuBean.reqContextPath}/secure/portal/salesadmin_role/portal.jsf" styleClass="menuText_Label">
		  <h:outputText value="#{messages['home']}" styleClass="menuText_Label" />
		</h:outputLink>
	</t:column>

    <t:column style="align:left">
	    <rich:dropDownMenu  value="#{messages['security.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['chg.pwd.menu']}" styleClass="menuText_Label" immediate="true"  action="#{userMgmtBean.navChangeUserPwdAction}" actionListener="#{userMgmtBean.navChangeUserPwdActionEvent}" />
		</rich:dropDownMenu>
    </t:column>


	<t:column style="align:left">
		<rich:dropDownMenu  value="#{messages['salesadmin.menu']}" styleClass="menuText_Label" >
			<rich:menuItem value="#{messages['agent.management']}" styleClass="menuText_Label" action="#{adminAgentMgmtBean.navListAction}" immediate="true"/>
			<rich:menuItem value="#{messages['proscpect.management']}" styleClass="menuText_Label" action="#{adminProspectMagmtBean.navListAction}" immediate="true"/>
			
			<rich:menuGroup  value="#{messages['voucher.management.menu']}" styleClass="menuText_Label" >
				<rich:menuItem value="#{messages['voucher.entry.update.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initVoucherEntryAction}" immediate="true"/>
			 	<rich:menuItem value="#{messages['print.complimentary.voucher.menu']}" styleClass="menuText_Label" action="#{voucherMgmtBean.initPrintComplAccommVoucherAction}" immediate="true"/>
			</rich:menuGroup>
<%-- 
 		   <rich:menuGroup  value="#{messages['rci.management.menu']}" styleClass="menuText_Label" >
		   	  <rich:menuItem value="#{messages['rci.bulk.bank.deposit.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIBulkBankAction}" immediate="true"/>
		   	  <rich:menuItem value="#{messages['rci.member.particular.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIMemberAction}" immediate="true"/>
		   	  <rich:menuItem value="#{messages['rci.assignment.space.bank.menu']}" styleClass="menuText_Label" action="#{adminRCIBean.initRCIAssignmentAction}" immediate="true"/>
		   </rich:menuGroup>
--%>		  
		</rich:dropDownMenu>
	</t:column>

	<t:column style="align:left">
		<h:outputLink  value="/#{menuBean.reqContextPath}/j_acegi_logout" styleClass="menuText_Label">
		  <h:outputText value="#{messages['logout']}" styleClass="menuText_Label" />
		</h:outputLink>
	</t:column>
</t:panelGrid>


